package org.vs.service;

import org.springframework.web.multipart.MultipartFile;
import org.vs.result.RestResult;

public interface StaticResourceService {
    /**
     * 上传文件接口
     * @param file
     * @return
     */
    RestResult upload(MultipartFile file);

    /**
     * 删除文件接口
     * @param file
     * @return
     */
    RestResult delete(String file);
}
